/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.seminariosab.tools;

import java.io.File;
import java.io.IOException;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.filefilter.FalseFileFilter;
import org.apache.commons.io.filefilter.FileFilterUtils;

/**
 *
 * @author Administrador
 */
public class TestClassDevSAb2 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            // TODO code application logic here
    //        String path="C:\\inetpub\\wwwroot";
    //        java.util.List<java.io.File> lstF=(java.util.List<java.io.File>)FileUtils.listFilesAndDirs(new java.io.File(path), FalseFileFilter.FALSE, FileFilterUtils.directoryFileFilter());
    //        int co=0;
    //        for (File file : lstF) {            
    //            try {
    //                co++;
    //                System.out.println("Archivo: ("+co+")"+file.getCanonicalPath());
    //            } catch (IOException ex) {
    //                System.out.println(TestClassDevSAb2.class.getName()+": "+ex.toString());
    //            }
    //        }
            
            
            //System.out.println("test2: "+new SABCnxTool().getMySQLCnx().getURL());
            String s="C:\\docs\\203\\applibs○2\\123";
            if(s.contains("\\20w")){
                System.out.println("hay");
            }else{
                System.out.println("no hay");
            }
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        
    }
}
